//
//  MineSimpleTbvCell.m
//  XLDoctor
//
//  Created by longma on 2018/8/2.
//  Copyright © 2018年 XLH. All rights reserved.
//

#import "MemerInfoMultipleCell.h"

@implementation MemerInfoMultipleCell

- (void)awakeFromNib {
    [super awakeFromNib];

    self.itemUAView.abbrLabel.hidden = false;
    self.itemGluView.abbrLabel.hidden = false;
    self.itemHBView.abbrLabel.hidden = false;
    self.itemTCView.abbrLabel.hidden = false;
    self.itemUAView.abbrLabel.mj_localizable = bloodUricAcidAbbr;
    self.itemGluView.abbrLabel.mj_localizable = bloodSugarAbbr;
    self.itemHBView.abbrLabel.mj_localizable = hemoglobinAbbr;
    self.itemTCView.abbrLabel.mj_localizable = totalCholesterolAbbr;
}

-  (void)setMultipleModel:(MJMultipleModel *)multipleModel{
    _multipleModel = multipleModel;
    
    self.topView.titleLabel.mj_localizable = @"Multiple Testing";
    self.timeLabel.text = [HealthHelper timeZoneWithDateTime:multipleModel.detectionDateTime dateFormat:MJUIDateFormat4];
    [self.itemUAView setBloodUricAcidWithRecordModel:multipleModel.goutDetection];
    [self.itemGluView setBloodSugarWithRecordModel:multipleModel.bloodGlucose];
    [self.itemHBView setHemoglobinWithRecordModel:multipleModel.hemoglobin];
    [self.itemTCView setTotalCholesterolWithRecordModel:multipleModel.totalCholesterol];
    self.periodLabel.mj_localizable = multipleModel.period;
    self.topView.number = multipleModel.total;
    
}

- (void)layoutSubviews {
    [super layoutSubviews];
    
}


@end
